<?php

/* @var $this yii\web\View */
use yii\helpers\Html;
$this->title = '修改密码';
$this->registerCssFile('/css/user/default.css?v=1.0.6');
$this->registerJsFile('/js/jquery.min.js');
$this->registerJsFile('/js/tools.js?v=1.0.1');
$this->registerJsFile('/js/layer/layer.js');
$this->registerJsFile('/js/user/passwdretrieve.js?v=1.0.0');
?>

<div class="bg-gray p40">
	<div class="register-box bg-white shadow p60 bg-white">
		<div class="block f22 mb30"><?= Html::encode($this->title) ?>
		<div class="fr f14"><span class="info">知道密码？</span><a class="red" href="/site/login">直接登录</a></div>
		</div>
		<form class="layui-form" action="/user/default/passwd-retrieve" method="post" id="mobilebind-form">
		  <div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-block">
			  <input type="text" id="username" name="username" placeholder="请输入用户名" class="layui-input"/>
			</div>
		  </div>
		  <div class="layui-form-item">
			<label class="layui-form-label">手机号</label>
			<div class="layui-input-block">
			  <input type="text" id="mobile" name="mobile" placeholder="请输入手机号" class="layui-input"/>
			</div>					
		  </div>	
			<div class="layui-form-item">
			  <label class="layui-form-label">验证码</label>
			  <div class="layui-input-inline" style="margin-left: 20px;">
					<input type="text" id="code" name="code" placeholder="验证码" autocomplete="off" class="layui-input"/>
			  </div>	
					<input type="button" class="layui-btn layui-btn-green" id="getcode" value="获取验证码"/>
					<input type="hidden" name="hashcode" id="hashcode"/>	
			</div>
		  <div class="layui-form-item">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-block">
			  <input type="password" id="passwd" name="passwd" placeholder="请输入密码" class="layui-input"/>
			</div>
		  </div>				  
		  <div class="layui-form-item">
			<label class="layui-form-label">确认密码</label>
			<div class="layui-input-block">
			  <input type="password" id="re_passwd" name="re_passwd" placeholder="确认密码" class="layui-input"/>
			</div>
		  </div>
		  <div class="layui-form-item" style="width: 300px; margin: 0 auto;">
			  <div id="mobilebind-submit" class="layui-btn layui-btn-normal layui-btn-fluid layui-btn-lg">确认修改</div>
		  </div>				  
		</form>
	</div>
</div>
<!-- 

<div class="personal-page">
    <div class="user-default-works-head">
        <div class="works-list-title-outter"><div class="works-list-title">绑定手机</div></div>
    </div>
    <div class="user-auth-body">
        <form action="/user/default/passwd-retrieve" method="post" id="mobilebind-form">
        <div class="user-auth-item">
            <div class="user-auth-bind-item-label">手机号码:</div>
            <div class="user-auth-bind-item-value">
                <div class="auth-number"><input type="text" class="auth-number-input" name="mobile" id="mobile"/></div>
            </div>
        </div>
        <div class="user-auth-item">
            <div class="user-auth-bind-item-label">验证码:</div>
            <div class="user-auth-item-value">
                <div class="bind-mobile-code"><input type="text" class="auth-number-input" name="code" id="code"/></div>
                <div class="bind-mobile-getcode">
                    <input type="button" class="auth-number-input" name="getcode" id="getcode" value="获取验证码"/>
                    <input type="hidden" name="hashcode" id="hashcode"/>
                </div>
            </div>
        </div>
        <div class="user-auth-item">
            <div class="user-auth-bind-item-label">密码:</div>
            <div class="user-auth-bind-item-value">
                <div class="auth-number"><input type="password" class="auth-number-input" name="passwd" id="passwd"/></div>
            </div>
        </div>
        <div class="user-auth-item">
            <div class="user-auth-bind-item-label">确认密码:</div>
            <div class="user-auth-bind-item-value">
                <div class="auth-number"><input type="password" class="auth-number-input" name="re_passwd" id="re_passwd"/></div>
            </div>
        </div>
        </form>
        <div class="user-auth-item">
            <div class="user-submit" id="mobilebind-submit">提&nbsp;&nbsp;交</div>
        </div>
    </div>
</div> -->